
<div class="row">
    <div class="col-md-12">
        <div class="panel panel-default">
            <div class="panel-heading">
                <h3 class="panel-title">系统消息管理</h3>

            </div>
            <div class="panel-body">
                <form class="form-inline">


                    <div class="form-group">
                        <label>创建时间：</label>
                        <input type="text" id="userDateStart" class="form-control input-sm" maxlength="10">
                        <label>-</label>
                        <input type="text" id="userDateEnd" class="form-control input-sm" maxlength="10">
                    </div>
                    <div class="pull-right">
                        <div class="form-group">

                            <input type="search" id="userSearch" class="form-control input-sm" placeholder="根据标题查询">
                        </div>
                        <button id="userSearchBtn" class="btn btn-primary" type="button">查询</button>
                    </div>
                </form>
            </div>

            <div class="panel-body">
                <button type="button" onclick="showDetail('','add')" id="addClass" class="btn btn-primary btn-sm">发布系统消息</button>
                <button type="button" onclick="del('')"  class="btn btn-primary btn-sm">批量删除</button>
                <table id="mainTable" class="table table-striped">

                </table>

            </div>
        </div>
    </div>
</div>




<div class="modal fade" id="staffDialog" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog" style="width: 780px;">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title" id="myModalLabel">系统发布信息</h4>
            </div>
            <div class="modal-body panel-body form-horizontal" id="dialogMain"></div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" id="showCon" onclick="addOffer()" class="btn btn-primary">提交更改</button>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal -->
</div>


<script src="/newshop/system/message/message.js"></script>